<?php
namespace app\index\controller;

use think\Controller;
use app\index\service\Menu;

class BaseController extends Controller
{
    protected function initialize()
    {
        $this->assign('menuList', Menu::getList());
    }

}